package com.qying.rpc.serialzation;

public interface RpcSerialzation {

    <T> byte[] serialize(T obj) throws Exception;

    <T> T deserialize(byte[] data, Class<T> clz) throws Exception;
}
